<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>StylesTable (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="StylesTable (POI API Documentation)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/StylesTable.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/xssf/model/SingleXmlCells.html" title="class in org.apache.poi.xssf.model"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/xssf/model/StylesTable.html" target="_top">FRAMES</a></li>
<li><a href="StylesTable.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<p class="subTitle">org.apache.poi.xssf.model</p>
<h2 title="Class StylesTable" class="title">Class StylesTable</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">org.apache.poi.POIXMLDocumentPart</a></li>
<li>
<ul class="inheritance">
<li>org.apache.poi.xssf.model.StylesTable</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <strong>StylesTable</strong>
extends <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">POIXMLDocumentPart</a></pre>
<div class="block">Table of styles shared across all sheets in a workbook.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>ugo</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#FIRST_CUSTOM_STYLE_ID">FIRST_CUSTOM_STYLE_ID</a></strong></code>
<div class="block">The first style id available for use as a custom style</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.poi.POIXMLDocumentPart">
<!--   -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.poi.<a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">POIXMLDocumentPart</a></h3>
<code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#DEFAULT_XML_OPTIONS">DEFAULT_XML_OPTIONS</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#StylesTable()">StylesTable</a></strong>()</code>
<div class="block">Create a new, empty StylesTable</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#StylesTable(org.apache.poi.openxml4j.opc.PackagePart, org.apache.poi.openxml4j.opc.PackageRelationship)">StylesTable</a></strong>(<a href="../../../../../org/apache/poi/openxml4j/opc/PackagePart.html" title="class in org.apache.poi.openxml4j.opc">PackagePart</a>&nbsp;part,
           <a href="../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a>&nbsp;rel)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#_getDXfsSize()">_getDXfsSize</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#_getNumberFormatSize()">_getNumberFormatSize</a></strong>()</code>
<div class="block">For unit testing only</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#_getStyleXfsSize()">_getStyleXfsSize</a></strong>()</code>
<div class="block">For unit testing only</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#_getXfsSize()">_getXfsSize</a></strong>()</code>
<div class="block">For unit testing only</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#commit()">commit</a></strong>()</code>
<div class="block">Save the content in the underlying package part.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFCellStyle.html" title="class in org.apache.poi.xssf.usermodel">XSSFCellStyle</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#createCellStyle()">createCellStyle</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#findFont(short, short, short, java.lang.String, boolean, boolean, short, byte)">findFont</a></strong>(short&nbsp;boldWeight,
        short&nbsp;color,
        short&nbsp;fontHeight,
        java.lang.String&nbsp;name,
        boolean&nbsp;italic,
        boolean&nbsp;strikeout,
        short&nbsp;typeOffset,
        byte&nbsp;underline)</code>
<div class="block">Finds a font that matches the one with the supplied attributes</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getBorderAt(int)">getBorderAt</a></strong>(int&nbsp;idx)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getBorders()">getBorders</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getCellStyleXfAt(int)">getCellStyleXfAt</a></strong>(int&nbsp;idx)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getCellXfAt(int)">getCellXfAt</a></strong>(int&nbsp;idx)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTStylesheet</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getCTStylesheet()">getCTStylesheet</a></strong>()</code>
<div class="block">For unit testing only!</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getDxfAt(int)">getDxfAt</a></strong>(int&nbsp;idx)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getFillAt(int)">getFillAt</a></strong>(int&nbsp;idx)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getFills()">getFills</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getFontAt(int)">getFontAt</a></strong>(int&nbsp;idx)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.List&lt;<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getFonts()">getFonts</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getNumberFormatAt(int)">getNumberFormatAt</a></strong>(int&nbsp;idx)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Map&lt;java.lang.Integer,java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getNumberFormats()">getNumberFormats</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getNumCellStyles()">getNumCellStyles</a></strong>()</code>
<div class="block">get the size of cell styles</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/usermodel/XSSFCellStyle.html" title="class in org.apache.poi.xssf.usermodel">XSSFCellStyle</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getStyleAt(int)">getStyleAt</a></strong>(int&nbsp;idx)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#getTheme()">getTheme</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putBorder(org.apache.poi.xssf.usermodel.extensions.XSSFCellBorder)">putBorder</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a>&nbsp;border)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putCellStyleXf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">putCellStyleXf</a></strong>(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;cellStyleXf)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putCellXf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">putCellXf</a></strong>(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;cellXf)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putDxf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf)">putDxf</a></strong>(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf&nbsp;dxf)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putFill(org.apache.poi.xssf.usermodel.extensions.XSSFCellFill)">putFill</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a>&nbsp;fill)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putFont(org.apache.poi.xssf.usermodel.XSSFFont)">putFont</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>&nbsp;font)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putFont(org.apache.poi.xssf.usermodel.XSSFFont, boolean)">putFont</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>&nbsp;font,
       boolean&nbsp;forceRegistration)</code>
<div class="block">Records the given font in the font table.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putNumberFormat(java.lang.String)">putNumberFormat</a></strong>(java.lang.String&nbsp;fmt)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#putStyle(org.apache.poi.xssf.usermodel.XSSFCellStyle)">putStyle</a></strong>(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFCellStyle.html" title="class in org.apache.poi.xssf.usermodel">XSSFCellStyle</a>&nbsp;style)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#readFrom(java.io.InputStream)">readFrom</a></strong>(java.io.InputStream&nbsp;is)</code>
<div class="block">Read this shared styles table from an XML file.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#replaceCellStyleXfAt(int, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">replaceCellStyleXfAt</a></strong>(int&nbsp;idx,
                    org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;cellStyleXf)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#replaceCellXfAt(int, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">replaceCellXfAt</a></strong>(int&nbsp;idx,
               org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;cellXf)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#setTheme(org.apache.poi.xssf.model.ThemesTable)">setTheme</a></strong>(<a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a>&nbsp;theme)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/xssf/model/StylesTable.html#writeTo(java.io.OutputStream)">writeTo</a></strong>(java.io.OutputStream&nbsp;out)</code>
<div class="block">Write this table out as XML.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.poi.POIXMLDocumentPart">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.poi.<a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">POIXMLDocumentPart</a></h3>
<code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#addRelation(java.lang.String, org.apache.poi.POIXMLDocumentPart)">addRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation, org.apache.poi.POIXMLFactory)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation, org.apache.poi.POIXMLFactory, int)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#createRelationship(org.apache.poi.POIXMLRelation, org.apache.poi.POIXMLFactory, int, boolean)">createRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getPackagePart()">getPackagePart</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getPackageRelationship()">getPackageRelationship</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getParent()">getParent</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelationById(java.lang.String)">getRelationById</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelationId(org.apache.poi.POIXMLDocumentPart)">getRelationId</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getRelations()">getRelations</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#getTargetPart(org.apache.poi.openxml4j.opc.PackageRelationship)">getTargetPart</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentCreate()">onDocumentCreate</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentRead()">onDocumentRead</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onDocumentRemove()">onDocumentRemove</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#onSave(java.util.Set)">onSave</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#prepareForCommit()">prepareForCommit</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#read(org.apache.poi.POIXMLFactory, java.util.Map)">read</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#rebase(org.apache.poi.openxml4j.opc.OPCPackage)">rebase</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#removeRelation(org.apache.poi.POIXMLDocumentPart)">removeRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#removeRelation(org.apache.poi.POIXMLDocumentPart, boolean)">removeRelation</a>, <a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#toString()">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="FIRST_CUSTOM_STYLE_ID">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FIRST_CUSTOM_STYLE_ID</h4>
<pre>public static final&nbsp;int FIRST_CUSTOM_STYLE_ID</pre>
<div class="block">The first style id available for use as a custom style</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.apache.poi.xssf.model.StylesTable.FIRST_CUSTOM_STYLE_ID">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="StylesTable()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>StylesTable</h4>
<pre>public&nbsp;StylesTable()</pre>
<div class="block">Create a new, empty StylesTable</div>
</li>
</ul>
<a name="StylesTable(org.apache.poi.openxml4j.opc.PackagePart, org.apache.poi.openxml4j.opc.PackageRelationship)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>StylesTable</h4>
<pre>public&nbsp;StylesTable(<a href="../../../../../org/apache/poi/openxml4j/opc/PackagePart.html" title="class in org.apache.poi.openxml4j.opc">PackagePart</a>&nbsp;part,
           <a href="../../../../../org/apache/poi/openxml4j/opc/PackageRelationship.html" title="class in org.apache.poi.openxml4j.opc">PackageRelationship</a>&nbsp;rel)
            throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getTheme()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTheme</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a>&nbsp;getTheme()</pre>
</li>
</ul>
<a name="setTheme(org.apache.poi.xssf.model.ThemesTable)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTheme</h4>
<pre>public&nbsp;void&nbsp;setTheme(<a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model">ThemesTable</a>&nbsp;theme)</pre>
</li>
</ul>
<a name="readFrom(java.io.InputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>readFrom</h4>
<pre>protected&nbsp;void&nbsp;readFrom(java.io.InputStream&nbsp;is)
                 throws java.io.IOException</pre>
<div class="block">Read this shared styles table from an XML file.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>is</code> - The input stream containing the XML document.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if an error occurs while reading.</dd></dl>
</li>
</ul>
<a name="getNumberFormatAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumberFormatAt</h4>
<pre>public&nbsp;java.lang.String&nbsp;getNumberFormatAt(int&nbsp;idx)</pre>
</li>
</ul>
<a name="putNumberFormat(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putNumberFormat</h4>
<pre>public&nbsp;int&nbsp;putNumberFormat(java.lang.String&nbsp;fmt)</pre>
</li>
</ul>
<a name="getFontAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontAt</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>&nbsp;getFontAt(int&nbsp;idx)</pre>
</li>
</ul>
<a name="putFont(org.apache.poi.xssf.usermodel.XSSFFont, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putFont</h4>
<pre>public&nbsp;int&nbsp;putFont(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>&nbsp;font,
          boolean&nbsp;forceRegistration)</pre>
<div class="block">Records the given font in the font table.
 Will re-use an existing font index if this
  font matches another, EXCEPT if forced
  registration is requested.
 This allows people to create several fonts
  then customise them later.
 Note - End Users probably want to call
  <a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html#registerTo(org.apache.poi.xssf.model.StylesTable)"><code>XSSFFont.registerTo(StylesTable)</code></a></div>
</li>
</ul>
<a name="putFont(org.apache.poi.xssf.usermodel.XSSFFont)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putFont</h4>
<pre>public&nbsp;int&nbsp;putFont(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>&nbsp;font)</pre>
</li>
</ul>
<a name="getStyleAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStyleAt</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFCellStyle.html" title="class in org.apache.poi.xssf.usermodel">XSSFCellStyle</a>&nbsp;getStyleAt(int&nbsp;idx)</pre>
</li>
</ul>
<a name="putStyle(org.apache.poi.xssf.usermodel.XSSFCellStyle)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putStyle</h4>
<pre>public&nbsp;int&nbsp;putStyle(<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFCellStyle.html" title="class in org.apache.poi.xssf.usermodel">XSSFCellStyle</a>&nbsp;style)</pre>
</li>
</ul>
<a name="getBorderAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBorderAt</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a>&nbsp;getBorderAt(int&nbsp;idx)</pre>
</li>
</ul>
<a name="putBorder(org.apache.poi.xssf.usermodel.extensions.XSSFCellBorder)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putBorder</h4>
<pre>public&nbsp;int&nbsp;putBorder(<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a>&nbsp;border)</pre>
</li>
</ul>
<a name="getFillAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFillAt</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a>&nbsp;getFillAt(int&nbsp;idx)</pre>
</li>
</ul>
<a name="getBorders()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBorders</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellBorder.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellBorder</a>&gt;&nbsp;getBorders()</pre>
</li>
</ul>
<a name="getFills()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFills</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a>&gt;&nbsp;getFills()</pre>
</li>
</ul>
<a name="getFonts()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFonts</h4>
<pre>public&nbsp;java.util.List&lt;<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>&gt;&nbsp;getFonts()</pre>
</li>
</ul>
<a name="getNumberFormats()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumberFormats</h4>
<pre>public&nbsp;java.util.Map&lt;java.lang.Integer,java.lang.String&gt;&nbsp;getNumberFormats()</pre>
</li>
</ul>
<a name="putFill(org.apache.poi.xssf.usermodel.extensions.XSSFCellFill)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putFill</h4>
<pre>public&nbsp;int&nbsp;putFill(<a href="../../../../../org/apache/poi/xssf/usermodel/extensions/XSSFCellFill.html" title="class in org.apache.poi.xssf.usermodel.extensions">XSSFCellFill</a>&nbsp;fill)</pre>
</li>
</ul>
<a name="getCellXfAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCellXfAt</h4>
<pre>public&nbsp;org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;getCellXfAt(int&nbsp;idx)</pre>
</li>
</ul>
<a name="putCellXf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putCellXf</h4>
<pre>public&nbsp;int&nbsp;putCellXf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;cellXf)</pre>
</li>
</ul>
<a name="replaceCellXfAt(int, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceCellXfAt</h4>
<pre>public&nbsp;void&nbsp;replaceCellXfAt(int&nbsp;idx,
                   org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;cellXf)</pre>
</li>
</ul>
<a name="getCellStyleXfAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCellStyleXfAt</h4>
<pre>public&nbsp;org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;getCellStyleXfAt(int&nbsp;idx)</pre>
</li>
</ul>
<a name="putCellStyleXf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putCellStyleXf</h4>
<pre>public&nbsp;int&nbsp;putCellStyleXf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;cellStyleXf)</pre>
</li>
</ul>
<a name="replaceCellStyleXfAt(int, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>replaceCellStyleXfAt</h4>
<pre>public&nbsp;void&nbsp;replaceCellStyleXfAt(int&nbsp;idx,
                        org.openxmlformats.schemas.spreadsheetml.x2006.main.CTXf&nbsp;cellStyleXf)</pre>
</li>
</ul>
<a name="getNumCellStyles()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumCellStyles</h4>
<pre>public&nbsp;int&nbsp;getNumCellStyles()</pre>
<div class="block">get the size of cell styles</div>
</li>
</ul>
<a name="_getNumberFormatSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getNumberFormatSize</h4>
<pre>public&nbsp;int&nbsp;_getNumberFormatSize()</pre>
<div class="block">For unit testing only</div>
</li>
</ul>
<a name="_getXfsSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getXfsSize</h4>
<pre>public&nbsp;int&nbsp;_getXfsSize()</pre>
<div class="block">For unit testing only</div>
</li>
</ul>
<a name="_getStyleXfsSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getStyleXfsSize</h4>
<pre>public&nbsp;int&nbsp;_getStyleXfsSize()</pre>
<div class="block">For unit testing only</div>
</li>
</ul>
<a name="getCTStylesheet()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCTStylesheet</h4>
<pre>public&nbsp;org.openxmlformats.schemas.spreadsheetml.x2006.main.CTStylesheet&nbsp;getCTStylesheet()</pre>
<div class="block">For unit testing only!</div>
</li>
</ul>
<a name="_getDXfsSize()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>_getDXfsSize</h4>
<pre>public&nbsp;int&nbsp;_getDXfsSize()</pre>
</li>
</ul>
<a name="writeTo(java.io.OutputStream)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeTo</h4>
<pre>public&nbsp;void&nbsp;writeTo(java.io.OutputStream&nbsp;out)
             throws java.io.IOException</pre>
<div class="block">Write this table out as XML.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>out</code> - The stream to write to.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if an error occurs while writing.</dd></dl>
</li>
</ul>
<a name="commit()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>commit</h4>
<pre>protected&nbsp;void&nbsp;commit()
               throws java.io.IOException</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#commit()">POIXMLDocumentPart</a></code></strong></div>
<div class="block">Save the content in the underlying package part.
 Default implementation is empty meaning that the package part is left unmodified.

 Sub-classes should override and add logic to marshal the "model" into Ooxml4J.

 For example, the code saving a generic XML entry may look as follows:
 <pre><code>
 protected void commit() throws IOException {
   PackagePart part = getPackagePart();
   OutputStream out = part.getOutputStream();
   XmlObject bean = getXmlBean(); //the "model" which holds changes in memory
   bean.save(out, DEFAULT_XML_OPTIONS);
   out.close();
 }
  </code></pre></div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html#commit()">commit</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/poi/POIXMLDocumentPart.html" title="class in org.apache.poi">POIXMLDocumentPart</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="getDxfAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDxfAt</h4>
<pre>public&nbsp;org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf&nbsp;getDxfAt(int&nbsp;idx)</pre>
</li>
</ul>
<a name="putDxf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putDxf</h4>
<pre>public&nbsp;int&nbsp;putDxf(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTDxf&nbsp;dxf)</pre>
</li>
</ul>
<a name="createCellStyle()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createCellStyle</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFCellStyle.html" title="class in org.apache.poi.xssf.usermodel">XSSFCellStyle</a>&nbsp;createCellStyle()</pre>
</li>
</ul>
<a name="findFont(short, short, short, java.lang.String, boolean, boolean, short, byte)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>findFont</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/xssf/usermodel/XSSFFont.html" title="class in org.apache.poi.xssf.usermodel">XSSFFont</a>&nbsp;findFont(short&nbsp;boldWeight,
                short&nbsp;color,
                short&nbsp;fontHeight,
                java.lang.String&nbsp;name,
                boolean&nbsp;italic,
                boolean&nbsp;strikeout,
                short&nbsp;typeOffset,
                byte&nbsp;underline)</pre>
<div class="block">Finds a font that matches the one with the supplied attributes</div>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/StylesTable.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/xssf/model/SingleXmlCells.html" title="class in org.apache.poi.xssf.model"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/xssf/model/ThemesTable.html" title="class in org.apache.poi.xssf.model"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/xssf/model/StylesTable.html" target="_top">FRAMES</a></li>
<li><a href="StylesTable.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                <i>Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.</i>
            </small></p>
</body>
</html>
